﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Models;

namespace Controller
{
    public class PriceController
    {
        protected PriceBussiness Controller = new PriceBussiness();
        public TblPrice objPrice { get; set; }

        public void AddData()
        {
            Controller.AddData(objPrice);
        }

        public bool DeleteData(int k)
        {
            return Controller.DeleteData(k);
        }

        public void UpdateData()
        {
            Controller.UpdateData(objPrice);
        }

        public List<TblPrice> GetAllData()
        {
            return Controller.GetAll();
        }
  
        

    }
}
